﻿using System;
using System.ServiceModel;
using WcfHelloContract;

namespace WcfHelloClient
{
    class Program
    {
        static void Main(string[] args)
        {
            var proxy = new ChannelFactory<IHelloService>("WcfHelloService").CreateChannel();
            Console.WriteLine(proxy.SayHello(new WcfHelloContract.Entiny.Person("Feng", 26, 1)));
            Console.Read();
        }
    }
}
